<?php 

/*
 * Stellt verbindung zur datenbank her
 * 
 * autor: albert krug
 * stand: 13.01.2012
 */

$dbserver = "localhost";
$dbuser   = "felix";
$dbpass   = "aendern";
$dbname   = "nippold_pflege";

global $connect;

if (!$connect = mysqli_connect($dbserver, $dbuser, $dbpass)) {
  die ("DB Fehler");
} else {
  if (!$selectdb = mysqli_select_db($connect, $dbname)) {
      die ("DB Fehler");
  }
}

?>